]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Do not warp pointer to fake crossing event
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 27 Nov 2018 12:36:26 +0000 (13:36 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 30 Jan 2019 21:50:01 +0000 (22:50 +0100)
commit23c3f3fdeae608de422472802ac42261ff8f55fe
tree76d0e7eb7c536c5e1b758b24371e1e6e9f723e4d
parent82c7090e9ec9698b53128ad89eb11dd795ad89fb
overview: Do not warp pointer to fake crossing event

This is actually papering over bugs in toolkits. On X11 the Xserver will
send crossing events when the stage input shape changes. As those go
end up ignored in GTK+, this warp call aims (and randomly manages) to send
a motion event that wouldn't go unlistened by the drag source window (the
one holding the grab).

This bug actually manifests in other ways, eg. by changing the window
beneath the pointer with alt-tab while DnDing. This should be fixed
altogether in the client side.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/317
js/ui/overview.js